package com.hj.dapp.business.sign.contoller;

import com.hj.dapp.business.sign.model.SignDto;
import com.hj.dapp.business.sign.model.SignVo;
import com.hj.dapp.business.sign.service.SignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2024/1/2
 */
@RestController
@RequestMapping("/sign")
public class SignController {
    @Autowired
    private SignService signService;
    @PostMapping("/signContact")
    public SignVo signContact(@RequestBody SignDto signDto) {
       return signService.signContact(signDto);
    }
}
